package cn.edu.cdu.group4nb.mapper;

import cn.edu.cdu.group4nb.po.Applicant;
import cn.edu.cdu.group4nb.po.ApplicantExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ApplicantMapper {
    int countByExample(ApplicantExample example);

    int deleteByExample(ApplicantExample example);

    int deleteByPrimaryKey(Integer applicantId);

    int insert(Applicant record);

    int insertSelective(Applicant record);

    List<Applicant> selectByExample(ApplicantExample example);

    Applicant selectByPrimaryKey(Integer applicantId);

    int updateByExampleSelective(@Param("record") Applicant record, @Param("example") ApplicantExample example);

    int updateByExample(@Param("record") Applicant record, @Param("example") ApplicantExample example);

    int updateByPrimaryKeySelective(Applicant record);

    int updateByPrimaryKey(Applicant record);
}